from django.urls import path

from news.views import news_list, del_new, detail, register1, login1, login2, register2

urlpatterns=[
    path('newslist/',news_list,name='newslist'),
    path('delnew/<int:id>',del_new,name='delnew'),
    path('detail/<int:id>',detail,name='detail'),
    path('register1/',register1,name='register1'),
    path('login1/',login1,name='login1'),
    path('register2/',register2,name='register2'),
    path('login2/',login2,name='login2')

]